home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Planet Source Code Jumbo …e CD Visual Basic 1 to 7
/
5_2007-2008.ISO
/
data
/
Zips
/
Crystal_Re2023131042006.psc
/
crystal report 10 dynamic datasource
/
Form1.frm
next >
Wrap
Text File
|
2006-10-04
|
2KB
|
70 lines
VERSION 5.00
Object = "{3C62B3DD-12BE-4941-A787-EA25415DCD27}#10.0#0"; "crviewer.dll"
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 5085
ClientLeft = 60
ClientTop = 450
ClientWidth = 6630
LinkTopic = "Form1"
ScaleHeight = 5085
ScaleWidth = 6630
StartUpPosition = 3 'Windows Default
Begin CrystalActiveXReportViewerLib10Ctl.CrystalActiveXReportViewer CRViewer1
Height = 4815
Left = 120
TabIndex = 0
Top = 120
Width = 6375
lastProp = 600
_cx = 11245
_cy = 8493
DisplayGroupTree= -1 'True
DisplayToolbar = -1 'True
EnableGroupTree = -1 'True
EnableNavigationControls= -1 'True
EnableStopButton= -1 'True
EnablePrintButton= -1 'True
EnableZoomControl= -1 'True
EnableCloseButton= -1 'True
EnableProgressControl= -1 'True
EnableSearchControl= -1 'True
EnableRefreshButton= -1 'True
EnableDrillDown = -1 'True
EnableAnimationControl= -1 'True
EnableSelectExpertButton= 0 'False
EnableToolbar = -1 'True
DisplayBorder = -1 'True
DisplayTabs = -1 'True
DisplayBackgroundEdge= -1 'True
SelectionFormula= ""
EnablePopupMenu = -1 'True
EnableExportButton= 0 'False
EnableSearchExpertButton= 0 'False
EnableHelpButton= 0 'False
LaunchHTTPHyperlinksInNewBrowser= -1 'True
EnableLogonPrompts= -1 'True
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
'Add this code to a form named form1 and module with a CrystalReports Viewer and reference
'the Crystal Reports ActiveX Designer Run Time Library 10.0
Private Sub Form_Load()
strSelect = "your sqlquery"
viewReport strSelect, App.Path & "\your report file"
End Sub
Private Sub Form_Resize()
CRViewer1.Width = ScaleWidth
CRViewer1.Height = ScaleHeight
End Sub